<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>承租方认证</title>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="Author" content="larry"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../statics/common/cascader/cascader/cascader.css" media="all">
    <link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/layui.css" media="all">
    <link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/autocomplete.css">
    <link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/soulTable.css">
    <link rel="stylesheet" type="text/css" href="../../statics/plugins/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" type="text/css" href="../../statics/css/common.css">
    <link rel="stylesheet" type="text/css" href="../../statics/css/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="../../statics/css/list-search-table.css">
    <!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/layui-soul-table/docs/soulTable.css" media="all"/>-->
    <script type="text/javascript" src="../../statics/plugins/jquery.min.js"></script>
    <script type="text/javascript" src="../../statics/common/lib/vue.min.js"></script>
    <script type="text/javascript" src="../../statics/plugins/ztree/jquery.ztree.all.min.js"></script>
    <script type="text/javascript" src="../../statics/common/layui/layui.all.js"></script>
    <script type="text/javascript" src="../../statics/common/js/axios.min.js"></script>
    <script type="text/javascript" src="../../statics/common/js/xm-select.js"></script>
    <script type="text/javascript" src="../../statics/js/common.js"></script>
    <script type="text/javascript" src="../../statics/js/upload.js"></script>
    <script type="text/javascript" src="../../statics/common/step/steps.js"></script>
    <link rel="stylesheet" href="../../statics/css/jxcPublicAll.css" media="all">
    <link href="../../statics/common/photoviewer/dist/photoviewer.css" rel="stylesheet">
    <link rel="stylesheet" href="../../statics/common/step/steps.css">
    <!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.7/cropper.css" media="all">-->
    <link rel="stylesheet" href="../../statics/js/modules/cropper/cropper.css" media="all">
    <link rel="stylesheet" type="text/css" href="../../statics/css/viewer.min.css">
    <!--<script src="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.7/cropper.min.js"></script>-->
    <script src="../../statics/js/modules/cropper/cropper.min.js"></script>
    <script src="../../statics/common/photoviewer/dist/photoviewer.js"></script>
    <script src="../../statics/common/layui/autocomplete.js"></script>
    <script src="../../statics/js/modules/viewer/viewer.min.js"></script>
    <script src="../../statics/common/print-js/print.min.js"></script>
    <link rel="stylesheet" type="text/css" href="../../statics/common/print-js/print.min.css">
    <script type="text/javascript" src="../../statics/common/xmselect/xm-select.js"></script>
    <script type="text/javascript" src="../../statics/js/searchview.js"></script>
    <script type="text/javascript" src="../../statics/js/tableedit.js"></script>

    <!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.0&type=webgl&ak=eo4XeZhRKHsQ0NOe6u6NkKscmRsk416B"></script>-->

    <!-- 引入组件库 -->
    <link rel="stylesheet" type="text/css" href="../../statics/css/index.css">
</head>
<body class="ren-body">
<div id="rrapp" v-cloak>

    <!-- 新增表单 -->
    <form class="layui-form ren-form" style="margin-bottom: 60px;">

        <div class="form-content-box">
            <div class="list-search-sup-title new-layui-title border-bottom-dashed">
                承租方认证基本信息
            </div>
            <div class="form-content-session-box">
                <div class="card">
                    <div class="layui-row layui-form-row-content">
                        <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                            <label class="layui-form-label">客户类型</label>
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input searchVal"
                                       :value="transformTypeByMap(leaseeAuth.memberType, {2:'企业', 1:'个人'})"
                                       style="border: transparent" disabled/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label"><span
                                    style="color:red">*</span>{{transformTypeByMap(leaseeAuth.memberType, {
                                2: '企业',
                                1: '客户'
                            })}}名称</label>
                            <div class="layui-input-inline">
                                <input type="text" lay-verify="validate_nickname" v-model="leaseeAuth.nickname"
                                       autocomplete="off" placeholder="请输入" class="layui-input searchVal">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6"
                             v-if="leaseeAuth.memberType == 2">
                            <label class="layui-form-label"><span style="color:red">*</span>法人</label>
                            <div class="layui-input-inline">
                                <input type="text" lay-verify="validate_corp" v-model="leaseeAuth.corp"
                                       autocomplete="off" placeholder="法人" class="layui-input searchVal">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6"
                             v-if="leaseeAuth.memberType == 2">
                            <label class="layui-form-label">管理员类型<span style="color: red">*</span></label>
                            <div class="layui-input-inline">
                                <input type="radio" lay-filter="contactsType" v-model="leaseeAuth.contactsType"
                                       class="layui-input" value="1" name="contactsType" title="法人">
                                <input type="radio" lay-filter="contactsType" v-model="leaseeAuth.contactsType"
                                       class="layui-input" value="2" name="contactsType" title="代理人">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6"
                             v-if="leaseeAuth.memberType == 2">
                            <label class="layui-form-label"><span style="color:red">*</span>管理员姓名</label>
                            <div class="layui-input-inline">
                                <input type="text" lay-verify="validate_contacts" v-model="leaseeAuth.contacts"
                                       autocomplete="off" placeholder="管理员姓名" class="layui-input searchVal">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6"
                             v-if="leaseeAuth.memberType == 2">
                            <label class="layui-form-label"><span style="color:red">*</span>开户行</label>
                            <div class="layui-input-inline">
                                <input type="text" lay-verify="validate_bankName" v-model="leaseeAuth.bankName"
                                       autocomplete="off" placeholder="银行卡发卡行名称" class="layui-input searchVal">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6"
                             v-if="leaseeAuth.memberType == 2">
                            <label class="layui-form-label"><span style="color:red">*</span>开户支行名称</label>
                            <div class="layui-input-inline">
                                <input type="text" lay-verify="validate_branchBankName"
                                       v-model="leaseeAuth.branchBankName" autocomplete="off" placeholder="开户支行名称"
                                       class="layui-input searchVal">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6"
                             v-if="leaseeAuth.memberType == 2">
                            <label class="layui-form-label"><span style="color:red">*</span>开户行卡号</label>
                            <div class="layui-input-inline">
                                <input type="text" lay-verify="validate_bankCardNumber"
                                       v-model="leaseeAuth.bankCardNumber" autocomplete="off" placeholder="开户行卡号"
                                       class="layui-input searchVal">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label"><span style="color:red">*</span>证件号码</label>
                            <div class="layui-input-inline">
                                <input type="text" lay-verify="validate_idNumber" v-model="leaseeAuth.idNumber"
                                       autocomplete="off" placeholder="证件号码" class="layui-input searchVal">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label"><span style="color:red">*</span>地址</label>
                            <div class="layui-input-inline">
                                <input type="text" lay-verify="validate_addrDetail" v-model="leaseeAuth.addrDetail"
                                       autocomplete="off" placeholder="详细地址" class="layui-input searchVal">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label"><span style="color:red">*</span>电话</label>
                            <div class="layui-input-inline">
                                <input type="text" lay-verify="validate_phone" v-model="leaseeAuth.phone"
                                       autocomplete="off" placeholder="联系电话" class="layui-input searchVal">
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label"><span style="color:red">*</span>邮箱</label>
                            <div class="layui-input-inline">
                                <input type="text" lay-verify="validate_email" v-model="leaseeAuth.email"
                                       autocomplete="off" placeholder="邮箱" class="layui-input searchVal">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="form-content-box">
            <div class="list-search-sup-title new-layui-title border-bottom-dashed">
                印章信息
            </div>
            <div class="form-content-session-box">
                <div class="card">
                    <div class="layui-col-xs12">
                        <label class="layui-form-label">印章类型<span style="color: red">*</span></label>
                        <div class="layui-input-inline">
                            <input type="radio" lay-filter="sealType" v-model="leaseeAuth.sealType"
                                   class="layui-input" value=0 name="sealType" title="上传印章">
                            <input type="radio" lay-filter="sealType" v-model="leaseeAuth.sealType"
                                   class="layui-input" value=1 name="sealType" title="自定义印章">
                        </div>
                    </div>
                    <!--上传印章-->
                    <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6" v-show="leaseeAuth.sealType==0">
                        <label class="layui-form-label" style="width: 140px;"></label>
                        <div class="layui-input-inline" id="localSealF">
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6" v-show="leaseeAuth.sealType==1">
                        <label class="layui-form-label">自定义印章内容<span style="color: red">*</span></label>
                        <div class="layui-input-inline">
                            <input type="text" v-model="leaseeAuth.localSeal" lay-verify="localSealVerify"
                                   placeholder="请输入自定义印章内容" class="layui-input">
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="float-btn-group bottom-bar">
            <a class="layui-btn reset-btn" id="closePage">取消</a>
            <a class="layui-btn search-btn" lay-submit lay-filter="save" id="save">保存</a>
        </div>
    </form>
</div>


<script src="../../statics/js/modules/sys/leaseeauthedit.js?_${.now?long}"></script>
</body>
</html>
